home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-10-11 | 1.5 KB | 56 lines | [TEXT/MPS ] |
- // Copyright © 1995 Apple Computer, Inc. All rights reserved.
- // Release Version: $ 1.0 d11 $
-
- #ifndef SAMPLEPRT_H
- #define SAMPLEPRT_H
-
- //=======================================================================
- #ifndef _SAMPLEDEF_
- #include "SampleDef.h"
- #endif
-
- // ----- Framework Includes -----
- #ifndef FWPART_H
- #include "FWPart.h" // FW_CPart
- #endif
-
- // ----- Foundation Layer -----
- #ifndef FWSTDDEF_H
- #include <FWStdDef.h> // ?
- #endif
-
- #ifndef FWBNDSTR_H
- #include <FWBndStr.h> // FW_CString
- #endif
-
- //=======================================================================
- class FW_CLASS_ATTR FW_CPart;
- class FW_CLASS_ATTR FW_CString;
- class FW_CLASS_ATTR FW_CMenuBar;
- class FW_CLASS_ATTR FW_CMenuEvent;
- class FW_CLASS_ATTR FW_CPresentation;
-
- //=======================================================================
- #ifdef FW_BUILD_WIN16
- extern HANDLE far gWinInstance; // Initialized by LibMain
- #endif
-
- //=======================================================================
- class FW_CLASS_ATTR CSamplePart : public FW_CPart {
- public:
- CSamplePart(ODPart* odPart);
- virtual ~CSamplePart();
- static const ODValueType kPartKind;
- static const ODValueType kPartUserName;
- // overrides
- protected:
- virtual void Initialize(Environment* ev);
- virtual FW_CFrame* NewFrame(Environment* ev,
- ODFrame* odFrame,
- FW_CPresentation* presentation,
- FW_Boolean fromStorage);
- };
-
- //=======================================================================
- #endif
-